//
// Created by hkkzzxz on 24-9-10.
//

#ifndef YUNSHI_EMPLOYEEATTENDANCERULES_H
#define YUNSHI_EMPLOYEEATTENDANCERULES_H

// 员工考勤规则实体类

#include <iostream>

#include "Model.h"

class EmployeeAttendanceRules : public Model {
public:
    EmployeeAttendanceRules() = default;

    void FillFromRow(sql::ResultSet *rs) override;

    [[nodiscard]]const std::string &getId() const;

    [[nodiscard]]const std::string &getName() const;

    [[nodiscard]]const std::string &getMorningStartTime() const;

    [[nodiscard]]const std::string &getEveningEndTime() const;

private:
    std::string id;
    std::string name;
    std::string morningStartTime;
    std::string eveningEndTime;
};


#endif //YUNSHI_EMPLOYEEATTENDANCERULES_H
